package student

import (
	"fmt"
)

type Student struct {
	Name  string
	Age   int
	Score float32
}

type Child struct {
	stu *Student
}

func (stu Student) getName() string {

	return stu.Name
}

func (stu Student) Eat() {
	fmt.Println("Call stu eat")
}

func (stu Student) Sleep(duration int) {
	fmt.Println("Sleep duration =", duration, "hours")
}
